adds missing dependencies