fixed #1406