Correct the code of getFunctionDisplayName (regarding 4cadefb1)