When the shareholders have to incur the expense of ensuring that managers act in the interest of the shareholders.That is the description of principal-agent problem.
The solutions of the principal-agent problem:
Corporate goverance regulation
Link managerial rewards to shareholder wealth improvement
Selling shares and the takeover threat