added error tag to html