some warning cleanup