remove dir "foo" better.