fixed #1745