Fixed variable name. widths1 -> weta1