fix#862