fix bug where themes weren't set in production mode