Revert "fixed char value errors"

This reverts commit 8f4e93f53f7b7384ea62a9a6610987893778feeb.