Fixed prefered_state variable