history query going thru