don't save global data in demo mode