fix bag with barrier