fix compiler warning message