fixed pbeast API changes