fix URL encoding problem