added bcmath dependency to allow ref generation on heroku