Fixed missing closing tag

Also fixed a typo and removed an empty tag.