Fix compil & warning