fixed #889