Fix tmp folder