fixed #345