Fix passed root in snapshot call