remove several warmings