fixed #1098