Fixed removing of pictures.