fix loader init