Pdf.table

Hi,
i have a table inside Prawn file like

grandtotal=@sql_query.size
total=[""],[""]
pdf.table total,
:width => 768,
:headers => ["Grand Total : #{grandtotal} "],
:header_color => ‘e5e5e5’,
:border_style => :underline_header

there are other data above them. what happens is, when the grandtotal
prints on the last line of a page,(in some cases only), they are
printing it twice …like, on the last line on page 1 and first line of
page 2.
Is it any property of pdf.table to print it on the next line ALSO, if
there is not much space on the previous page?

please advice
~Jeff