fixing id reference for heroku migration