trying to repair heroku
fixing bug
fixed post and added better log