debug the detect_th when getstars