fixed #729