Fixed mismatch in variable names