tweaks in dvr creation code, make sure nothing gets overwritten