How to correct dangling modifiers?
e.g. Swimming at the lake, a rock cut Jim's foot.
1. Jim swimming at the lake, a rock cut Jim's foot.
2. swimming at the lake, Jim cut cut his foot on a rock.
3. When Jim was swimming at the lake, a rock cut his foot.
Are these corrections above all fine?

