Fixed bug in set width