small fix for course edit