Fixed incorrect table tags in template