fix urls to encode ampersands