Fixed bugs in list elements and container tags