fix #1315