extra checks for upgrading tmp folder