remove unneeded stuffs