cleaned up how char data is stored in ets