correct display type for element of character array