Heroku Deploy Bug Fix

Fixed error which occured while deploying to heroku.