remove some warning on linux