fix #696