Issue #5983: fixed bug that loader error

Issue #5983: fixed bug that loader error