adapt to haskell-tpdb version