fix up kew type annotations