fix for delete button on courses