fixed #1190