Course and Course content delete bug fix