url encode bug fixed