fix assets precompile issue causing Heroku to behave differently from local