fixing courses for api