install dependencies correctly