don't reset env when there are local changes