added suport for fpdf