delete the unnecessary