fixed various things, working dependencies