fixed the dependences so it loads correctly