delete unuseless code