Minor cleanup.
fixed: a planning bug.