removing useless stuffs