compilation warning cleanup