Issue #5695: Modify the loing compatibility

Modify the loing compatibility