fix bug causing plated and non plated holes to be swapped