fix bug with RVD