fix state control method