fixed #760