re fix #246