fix output overflow with a rawsh
fix overflows with some rawsh