fixed #891