fix #1313