fixed #973