tmp directory is replaced