fix probable source of compiler warnings