fix selectionKeyActive