clean up directory names