there is discrepancy in the arrangement of first name & middle name on my passport and on DS-160. what can be done to correct this?although visa fee is yet to be paid
The details on your passport is always the base(source of the truth).
So, update the DS-160.
If its not possible, write a letter of this correction and request this change during your interview. But your passport is the base always