fix some bug for swoole