fix images and styles