[task] Fix compile error