modify to remove references to slide images