Compiler warning fix