fix existsSync in 0.6