fixed typos and got demo running