fixed weird bar width problem