changed back to encodeuricomponent