fixed #1075