make more conformant with new version of yesod