ydm: cosmetic improvements