moved trailing parameters to middle of url