notify errors properly