fixed a bug that occured with some ad provider postMessages
fixed a bug in socialstream connection