Refine code.
Refine code

Signed-off-by: niuzheng168 <niuzheng168@gmail.com>