fixes for saving courses in the admin interface