handle .. when in root directory