fixed segment fault with reporting time