fixed main_controller_selector bug