fix p_error

Change-Id: Iefe4a2b4fe2c2af3e5170dfaa6088b76aacfc760