Fixed recursively invoking function name