fixed compiler warning.