fixed data type issue on tgrigger