added error message for display