contract report bug fix