change var name in error messages