fix serval-verify param length checks