Fix recoding scalar a