correct calc logic of summary report