fixed #372