compiler warning fix