spec for #1791
fix for #1791