fixed windows recurse bug