enabling offline event