changes in viewmap_copy as requested risiqk3 and prev_checks attr.