fixing some problems in reports