fix error notification