cleanup code and ozbased breaker mode