change data type to int? for some ID fields instead of object type