fixed #392