fixed #1143