changes a type for the string conversion