Change error message, fix build warning.