name method bug fixed