fixed loader, change loader to object

Signed-off-by: TZ <atian25@qq.com>