fixed #673