sigopt: check numargs also with call into c methods

found several arg. breakage in our tests