fix IntegerField, transform type before validating