Fix insight compile error