fixed a bug with student selector