fix bug for delete student