erasing env before cloning if it exists