Course fix

Fixes for course editor.