fixed #376