fixed tmp folder doesnt exist bug