added error message display