solved bug that prevented courses from being created