fix #899