added error message on screen