fixing post fence error