wm: undo printing fix