fix warning from the compiler