Getting things in the wrong order in a sentence can lead to "dangling participles." Usually, that means you put the modifier in the wrong place.
I can dangle a participle with the best of them and once had "a woman in a barn with a broken hip". This says the barn had the broken hip ̵ must've been the roof.... But watch out for phrases like that. They tend to send editors off into gales of laughter.