fixed enconding for name in path