fix state instruction