fix pubnub