bug fix. Fixed #35.