fixed #1333