small corrrection on PH_STATE

One error has been fonded in the ph controller.
We added somes lines (in comment)