fixed #364