chr is a string not a number