Fixed phib definition and phib for rpc-only case
fixed phib definition