fix NoMethodError in reportscontroller#27