fixed reporting issues on html generator