removing unecessary directories