fix throw exception, insert student class