fixed #907