spec bugfixed
Replace rootDirectory