fix typings