fix #958