dlx: fix error path

Change-Id: Ia112579c48ad83ec13f02ba33cb9f65cff7b9eff