fixed bug with overload of courses