fixed #1385