make pubnub working, might still have unknown problems but can trade again