fixed #251