clean up video block code