fix #299