convert types of value fields