fix bug in name method "render"