fixes for #1865
fix post functional test