fix #298