removing unneeded error messages.
removing unneeded closing tag.