fixed #1069