refactor due ODatabaseRecordInternal not more available