fix define name attribute wrong