made pdf work for liza, fixes for rahul