halt statemodier in in/out transitions prevents flickering