fixed problem with URL and single quotes