Fix invalid assign data type for memberCode