Properly closing the right tags