fix error notifications