changed the run state to hide