fix issue 211

fix issue #211