fix #324