fix #698