asset pipeline fixes for running in production environment