Fixed generating reports