Fix for the selectable function