fixed bug in install-dependencies