bugfix: #341

refer #341