fixed #258