installation fix

fixed a major bug regarding the installation failing