repair join course bug