fixed #1350