fix core dump in qa testing