Fix typo on path should have been dir