deleting unnecessary dirs