fixed a bug with floating point X-DL-units-left