depth and prov fixes