fixing pdf invoice