Fixed variable name mismatch