fix a crash from using a char instead of a string.