fixed download courses with duplicates (no bugs with duplicates)