remove call to setStateEmergencyStop