fix encoding problem in path