corrected types of the fields