fixed issue where courses didnt know gid