Fixed the wrong sizes for char arrays.