fix query methods in urls