fixes incorrect case in dirs