fix bug in startReporting method