repro for issue #177