fixed pundit error on heroku