make a secure copy of image info, error handling for removing stuff