fix bug in courses list