fixes for attributes which are not Strings.