Char-related crashes (hopefully) fixed