remove leftover type def