Removing main_frame