fixes store behavior for !reset-env