fixed manager bug