removes unused fragment