fix bug when custom sobject in list<>