correction for recurring IDs and missing images and fonts better handling