Fix the bug in the displayName generation