fix paths without qs's