add spotErrorMessage in UI