fix headerline display with no rows