attempt to port to yesod1.2