idiom
tie up loose ends
Meaning
to complete the remaining small tasks of a project
Example
Before the deadline, we need to **tie up loose ends**.