some warning fix