fix state changing