avoid use of all ctype macros