fix Access Denied error on windows XP