Fix bug of width