dirname typo