fix encode error in course implementations