handle special case while moveto is null