Fix offline variable on online event