fix the TRE_CHAR_MAX fix
Merge branch '01-cleanup' into 05-matprod