possible fix for empty output