fixing #241