fixed #751