fixed compile error in mali