fixed #699