added error component view #271