Added potential fix for pd