added canonical check method to report.rb