fix a compiler warning.