cleanup door status code