fix #1478