fixed a deprecation warning due to change in Template Haskell interface