fix context reference on Observer