fix indent and relocate function of urlenc