cleanup with switch break