The conjunction misplaced in a time clause
Don't say:
Emma when she arrived the boat had already gone.
Say:
When Emma arrived the boat had already gone.
Note:
Place the conjunction introducing an adverbial clause of time at the beginning of a clause.