fix #302