fix loader class