fix compile error in example project