fix

fix calculate width