put convert method back in as the heroku error still occured with out it being called