correcting tags and some formatting