fixed chunked issue and non-English chars in path