fix Unmatched or `No such file or directory` errors