reference error variable by correct name