Fix add food issue of nil photo