fixing bug in demo