fix local_thr output for large message size