fixed #1492