fixed #375