#172: reproduced in test
#172: fixed and tested