use shorter function name in warning message