fix #1381