remove uneeded stuffs