fix demo compile error; fix README