fix state data