remove pedantic warnings