settings = current.deployment_settings was missing