check param
Fix test