fixing bugs in dependencies