A few bugs on selection.