adds icon for errored state