Fix path is '.' cause No such file or directory