modification because of compiler warning