clean unused code