correct for header error in cv optic flow