fixes dependency loading