Fixed bugs in dependencies