fix binding of char fields