fix broken path remove on windows