fixed formatting problems, tag matching.