Fixed the display issue with long file paths.