try to fix core when generating statsdb graph