errors support - fixes bad values