fix #329