output sv file bug patched