fixes 251
fix failing test
Merge pull request #253 from balanced/bugs

fixes 251