dmexpv rewrite complete