Fix from Allen for PD images