fix #291