fixed the segment fault with ipstat_module