output for bad data, fix for generator