fix clear_unused_data: param for clearing && uvls checking