fix dbr writer, char type