Fix assets problem in production mode