fixed wrong data sent on subscribe, sending messages on invalidate