clean up the messy codes for deinterlace