FrankSu: Fix the bug that gtk version cannot get courses from server.