Fix existsSync call