get rid of bad error reference