fix lost selection