match vid more precisely