Fixed directory remove issue after setup.