fixed bugs in deps installation script