fixed #489