correcting English usage in check_is_directory