[PD] get dir of current pd