fix compile error in optigraph app