minor cleanup in paramcheck()