Fix typo and add tmp directory.