flops cleanup