add new data for PD and fix some bugs