fixed print for threshold