fix #1325