fixed: remove query params before adding new params