fixed output plan parsing bug