-Fixed small bug in pdf_creator