image and html fixes