create and fix some picky warnings