idiom
clean up one’s act
Meaning
to improve behavior or performance; to become more responsible
Example
The factory had to **clean up its act** to avoid heavy fines.