Delete course JSON fix