Fixed getting Root dir