THIS WORKS! on heroku it didnt before