fix problem printing report