fix barrier
midterm version