delete the unuseless