Fix up directory. Now the ".." is not showed when we are in the root directory