Fix a bug on Ubuntu (macos is good)

Signed-off-by: zdd <zddhub@gmail.com>