arranged the field values to show in popup