Fix compinit issue