replace obsolete width attribute