Rewrite the following sentences,focusing on the grammar area if it doesn't need no change write no change. Make it under the rule of "Dangling Modifiers".

1.Ironing out all wrinkles,the pants looked much more presentable.

My answer is: The pants looked much more presentable after ironing out all the wrinkles.

I got a feedback saying (who is ironing )that i needed to clearify but the sentence doesn't state therefore how should i rewrite this sentence.Please help me understand.

Their advice was excellent... you need to put a subject in before the verb ironing and change the tense... The sentence, as it is, still has the pants doing the ironing....

To rewrite the sentence in a way that avoids the dangling modifier, you can introduce a subject before the verb "ironing" and clarify who is performing the action. Here are two possible revisions:

1. After ironing out all the wrinkles, I found that the pants looked much more presentable.
2. When I ironed out all the wrinkles, the pants looked much more presentable.

By adding the subject "I" or "when I" before the verb "ironing," you establish who is performing the action and remove any ambiguity or confusion.