fixed func.__name__