Correct missing directories and typos