fix #1498