fixed #690