fixed wrong values received on d0