rm check presence of photo