pb4 memory fix