string streams do weird things if the value is a char. Cast was mandatory doing it that way.