bugfix, for setting button width
merged with origin