fixing #251