Fixing heroku compiling error