fixed a manager bug.