barrier syncs and other issues