tern: strip 0x1f bytes too