selection with keys fixes