fix bit operation errors in pce reply message factory