fixed #672