Working on multichar support -- lastchar problem