Fixing courseEnding ex