fixed #1328