fix a windows/linux display issue