debug reporting fix