add warning of image lost