fix warning history query by station code