test for #431
fix #431