fix #1214