cleanup (H/T @kpu)