fixed #1120