Tweak code

Signed-off-by: Tony Liu <fentensoft@163.com>