fix reports and warning