PB fix bugs in representation