fix #271