fix to save chars to string, instead of ints