fix loader dependencies