fix remove Subject and Teacher