installed dependencies, and added component initialising for bugfix