bugfix on add_manager