fixed #944