tried to fix state