fix path contain whitespace caused problem