improve error notification