fix incorrect loop bar width