Remove query string in dest and src