loosen up err assertion