modify adding footer tag by Leo