fixed #1073