compile warning fix