fixed #883