Fixed bug about path with spaces