Parse directories bug solved