Fix typo in documentation. Minor fix in demo2