remove images and fix html