show proper unexpected error message