check required arguments

Signed-off-by: yuanhuan <yuanhuan@tcl.com>