fixed #351