fixed #949