Fixed critical bug on install