fix #345