removing unnnessory  direcotires