strip trailing & when forming urls