adjusted url encoding