barrier now working for local nodes