fixed #6768