was checking wrong locations for loca_pdf dimensions