Undo fix getSlot while