fix validation issue with defaultData data types.