fix cmd-arg-check