Please rework the following text to remove the grammatical flaws
My family had not come back home yet, so I had to wait someone came back.
My family had not come back home yet, so I had to wait for someone to come back.