end tag duplicate fixed