cd tmp first