precompile assets for heroku and fix bug