fixed so that entire code is visible in report