remove states before save/load