remove dir before install