fixed display bug and setup demo to find the compile error