remove unneeded state cache