Fixed delete subject issue