fix the TRE_CHAR_MAX fix
Merge branch '01-cleanup' into 02