fix pg bundle