Fix subscription to work correctly in production.