Fixed bug that name cannot be changed