Fix bug about width