remove parens in path check