v1.2.0, improve code

Signed-off-by: zensh <admin@zensh.com>