bug fix for the report