Fixed bug with dependency installation