Unset old versions before setting new ones