Remove "dots" if there are no dots (null, not NaN).
Log some debug info