fix #864

fix #864