fixed #688