do a bit optimization work

Signed-off-by: TomWu <phperwuhan@gmail.com>