try to stop occasional missed state change