fixed issue with URL encoding