fixup my input code fault

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>