code warning cleanup