recompile pb