fix #1406