fixed some windows recursive issues