fixed pdata uninitialized error