fixes #28
test for #28