Fix distributor and wrong line
Pause video before clearing