bad isDir pattern