fixed deleting student bug