fixed some loops in manager.php
Merge branch 'myversion'