remove extra query parts not needed as at top in header