fix gpool init bug for debug