fixed some selecting bugs