Add ref on last slide