Bug fix

Fix: restored barrier