fix state