add url encode feature