Char error fixed