memset fix, tabelized trigs