char and string fix