Fixed missing variable; Changed to activeSlot;