delete unneeded stuffs