fixed #773