course delete bug fix