fix #478