fix bug for border-width