recorder key gen
key gen interface
remove undefined key
check args