fix #651