fix #380