removed pubnub stuff