trying to clear the state cache