PDF report not formatted properly