door state fix; api response success fix