Fixed typos in directory traversal