return a correct return value when joining channels