fix title for onhand query