fix #1379