Fixed bugs of manager.create.