fixed print of parent directory