bug with query params resolved