Fix for truncated output