fix #297