fix #1380