fixed bug that the name is not displayed correctly