name attribute problems fixed