inconsistency between addchr and addstr