fixed forward packet issue and PD logic