Fix pubnub initializer