remove excess photos, ensure d3 runs