fix bug that studentID cannot found after delete