fixed #899