fixed main_server