bug in output processing resolved