remove nasty redundant error messages