[Shadow] Fix wrong usage of name attribute.