fix bug,when there's space in the path,for...in loop split it
incorrectly