remove unused image and styles