fix annotations to support non string params