fixed #1089