moved precompilation fix to application.rb