clean pilot state