fixed broken var from demo