fixing reference to manager.