fixed dd <-> dms issue