removing uneeded stuffs