add refrange
implement vmd first frame send