fixing the url issue with escaping ampersands