Fixing bug in installer