encode path for avoid problem with /