fixed #716